<?php 
	$html = array();
	foreach ($model as $one):
		if($one->span):
			$html[] = '<a class="'.$one->class.'" href="'.Yii::app()->createUrl($one->route).'"><span class="bh-bodyred">'.$one->fullTitle.'</span></a>';
		else:
			$html[] = '<a class="'.$one->class.'" href="'.Yii::app()->createUrl($one->route).'">'.$one->fullTitle.'</a>';
		endif;
	endforeach;
?>
<div class="bh-ly-jj-small_nav bh-mLeft20 bh-fl">
	<?php echo implode('|', $html)?>
</div>